package edu.sctu.practice.class02.luohui;

/**
 * Created by asus on 2015/9/20.
 */
public class HomeDog extends Dog {
    public HomeDog(int age,String name){
        boolean a=panDuan();
        if(a==true){
            setName();
            setColor();
        }
        else{
            setAge();
            setName();
            setColor();
            setNumber();
            setSex();
        }
    }
}
